<?php


			
			if($_REQUEST['from']=="view"){//pinakauna
				echo "<div id=\"vHead\">";
				echo	"<span id=\"viewHeader\">Enzyme Information | ".$_REQUEST['client']." - ".$_REQUEST['name']."</span>";
				echo "</div>";
				echo "<div id=\"vBody\">";
				echo "		<input type=\"button\" value=\"Edit\" onclick=\"editEnzymeForm('editEnzyme');\">";
			}
			elseif($_REQUEST['from']=="confirm"){
				echo "<div id=\"vHead\">";
				echo "<span id=\"viewHeader\">Enzyme Information | ".$_REQUEST['clientOrig']." - ".$_REQUEST['nameOrig']."</span>";
				echo "</div>";
				echo "<div id=\"vBody\">";
				echo "<input type=\"hidden\" id=\"clientOrig\" value=\"".$_REQUEST['clientOrig']."\" >";
				echo "<input type=\"hidden\" id=\"nameOrig\" value=\"".$_REQUEST['nameOrig']."\" >";
				echo "<input type=\"hidden\" id=\"originOrig\" value=\"".$_REQUEST['originOrig']."\" >";
				echo "<input type=\"hidden\" id=\"dateOrig\" value=\"".$_REQUEST['dateOrig']."\" >";				
				
				if($_REQUEST['flag']=="add"){
				echo "Are you sure you want to add this Enzyme?<br />";
				echo "<input type='button' value='Yes' id='buttonConfirm' onclick=\"addNewEnzyme('confirm');return false;\" />";
				echo "<input type='button' value='Edit' id='buttonEdit' onclick=\"addEnzyme('edit');return false;\" />";
				echo "<input type='button' value='Cancel' id='buttonCancel' onclick=\"cancel('add');return false;\" />";
				}
				else{
				echo "Are you sure you want to edit this enzyme?<br />";
				echo "<input type='button' value='Yes' id='buttonConfirm' onclick=\"editSelectedEnzyme('confirm');return false;\" />";
				echo "<input type='button' value='Edit' id='buttonEdit' onclick=\"editEnzymeForm('none');return false;\" />";
				echo "<input type='button' value='Cancel' id='buttonCancel' onclick=\"cancel('enzyme');return false;\" />";
				}
			}
			echo "		<div id=\"viewClient\">";
			echo "			<div id=\"client_l\">";
			echo "				Client:";
			echo "			</div>";
			echo "			<div id=\"client_i\">";
			echo 				$_REQUEST['client']."<input type=\"hidden\" id=\"clientValue\" value=\"".$_REQUEST['client']."\" />";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewName\">";
			echo "			<div id=\"name_l\">";
			echo "			Name:";
			echo "			</div>";
			echo "			<div id=\"name_i\">";
			echo 				$_REQUEST['name']."<input type=\"hidden\" id=\"nameValue\" value=\"".$_REQUEST['name']."\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewOrigin\">";
			echo "			<div id=\"origin_l\">";
			echo "			Origin:";
			echo "			</div>";
			echo "			<div id=\"origin_i\">";
			echo 				$_REQUEST['origin']."<input type=\"hidden\" id=\"originValue\" value=\"".$_REQUEST['origin']."\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewDate\">";
			echo "			<div id=\"date_l\">";
			echo "			Date:";
			echo "			</div>";
			echo "			<div id=\"date_i\">";
			echo 				$_REQUEST['date']."<input type=\"hidden\" id=\"dateValue\" value=\"".$_REQUEST['date']."\">";
			echo "			</div>";
			echo "		</div>";
			echo "</div>";
			
			echo "<div id=\"vLower\">";
			echo "</div>";
			
?>